package nl.hanze.designpatterns.mvc.view.menu;

import javax.swing.JMenuBar;

public class Menu<T> extends JMenuBar {

	private T controller;
	
	public Menu(T controller) {
		this.setController(controller);
	}
	
	private void setController(T controller){
		this.controller = controller;
	}
	
	public T getController(){
		return this.controller;
	}

}
